package com.yinhe.music.yhmusic.model;

import java.io.Serializable;
import java.util.List;

/**
 * Created by 何晓华 on 2017/9/26.
 */

public class RadioInfo implements Serializable {

    /**
     * classify : []
     * detail : 测试内容
     * hasSubscribe : false
     * image : http://p4.music.126.net/qeDrK_Zz7ipX64afiBdknQ==/109951163029064564.jpg?param=200y200
     * name : 测试
     * nickname : aaaaaaaaaaa
     * radioid : 1
     * radiosongnum : 3
     * radiosongs : [{"image":"http://p4.music.126.net/qeDrK_Zz7ipX64afiBdknQ==/109951163029064564.jpg?param=200y200","name":"测试电台歌曲1","radioid":1,"radiosongid":1,"userid":10000},{"image":"http://p4.music.126.net/qeDrK_Zz7ipX64afiBdknQ==/109951163029064564.jpg?param=200y200","name":"测试电台歌曲1","radioid":1,"radiosongid":2,"userid":10000},{"image":"http://p4.music.126.net/qeDrK_Zz7ipX64afiBdknQ==/109951163029064564.jpg?param=200y200","name":"测试电台歌曲1","radioid":1,"radiosongid":3,"userid":10000}]
     * uid : 10000
     * username : http://www.baidu.com/nnnnnn
     */

    private String detail;
    private boolean hasCollected;
    private String image;
    private String name;
    private String nickname;
    private int radioid;
    private int radiosongnum;
    private int uid;
    private String username;
    private List<SongMenu.LabelsBean> classifyinfo;
    private List<RadioSongs> radiosongs;
    private String userimage;
    private RadioInfo res;

    public RadioInfo getRes() {
        return res;
    }

    public void setRes(RadioInfo res) {
        this.res = res;
    }

    public String getUserimage() {
        return userimage;
    }

    public void setUserimage(String userimage) {
        this.userimage = userimage;
    }

    public String getDetail() {
        return detail;
    }

    public void setDetail(String detail) {
        this.detail = detail;
    }

    public boolean isHasCollected() {
        return hasCollected;
    }

    public void setHasCollected(boolean hasCollected) {
        this.hasCollected = hasCollected;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public int getRadioid() {
        return radioid;
    }

    public void setRadioid(int radioid) {
        this.radioid = radioid;
    }

    public int getRadiosongnum() {
        return radiosongnum;
    }

    public void setRadiosongnum(int radiosongnum) {
        this.radiosongnum = radiosongnum;
    }

    public int getUid() {
        return uid;
    }

    public void setUid(int uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public List<SongMenu.LabelsBean> getClassify() {
        return classifyinfo;
    }

    public void setClassify(List<SongMenu.LabelsBean> classify) {
        this.classifyinfo = classify;
    }

    public List<RadioSongs> getRadiosongs() {
        return radiosongs;
    }

    public void setRadiosongs(List<RadioSongs> radioSongs) {
        this.radiosongs = radiosongs;
    }

    public static class RadioSongs implements Serializable {

        /**
         * image : http://p4.music.126.net/qeDrK_Zz7ipX64afiBdknQ==/109951163029064564.jpg?param=200y200
         * name : 测试电台歌曲1
         * radioid : 1
         * radiosongid : 1
         * userid : 10000
         */

        private String image;
        private String name;
        private int radioid;
        private int radiosongid;
        private int userid;
        private String username;
        /**
         * create_ts : Thu, 05 Oct 2017 22:36:33 GMT
         * play : 0
         */

        private String create_ts;
        private String play;

        public String getUsername() {
            return username;
        }

        public void setUsername(String username) {
            this.username = username;
        }

        public String getImage() {
            return image;
        }

        public void setImage(String image) {
            this.image = image;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public int getRadioid() {
            return radioid;
        }

        public void setRadioid(int radioid) {
            this.radioid = radioid;
        }

        public int getRadiosongid() {
            return radiosongid;
        }

        public void setRadiosongid(int radiosongid) {
            this.radiosongid = radiosongid;
        }

        public int getUserid() {
            return userid;
        }

        public void setUserid(int userid) {
            this.userid = userid;
        }

        public RadioSongs(Music music) {
            this.name = music.getSongName();
            this.radiosongid = (int) music.getSongId();
            this.image = music.getImage();
        }

        public String getCreate_ts() {
            return create_ts;
        }

        public void setCreate_ts(String create_ts) {
            this.create_ts = create_ts;
        }

        public String getPlay() {
            return play;
        }

        public void setPlay(String play) {
            this.play = play;
        }
    }
}
